﻿using DLV.Library.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLV.Data.Entities
{
    public class TourInfo
    {

        #region private fields

        private int _tourId = Null.NullInteger;
        
        private string _tourName = Null.NullString;
        private int _tourTypeId = Null.NullInteger;
        private string _groupType = String.Empty;
        private int _locationBegin = Null.NullInteger;
        private string _schedule=String.Empty;
        private int _quantityAdult= Null.NullInteger;
        private int _quantityChild = Null.NullInteger;
        private DateTime _cTBeginDate = Null.NullDate;
        private DateTime _beginDate = Null.NullDate;
        private DateTime _endDate = Null.NullDate; 
        private int _quantityDay = Null.NullInteger;
        private int _quantityNight = Null.NullInteger;
        private int _createdBy = Null.NullInteger;
        private DateTime _createdDate = Null.NullDate;
        private int _updatedBy = Null.NullInteger;
        private DateTime _updatedDate = Null.NullDate;
        private int _status = Null.NullInteger;
        private string _season = Null.NullString;
        private string _martName = Null.NullString;

        private int _quantityBaby = Null.NullInteger;
        private int _hasLandTour = Null.NullInteger;
        #endregion

        #region public properties

        public int TourId
        {
            get { return _tourId; }
            set { _tourId = value; }
        }
        public string TourName
        {
            get { return _tourName; }
            set { _tourName = value; }
        }
        public int TourTypeId
        {
            get { return _tourTypeId; }
            set { _tourTypeId = value; }
        }

        public string GroupType
        {
            get { return _groupType; }
            set { _groupType = value; }
        }

        public int LocationBegin
        {
            get { return _locationBegin; }
            set { _locationBegin = value; }
        }

      public int QuantityAdult
        {
            get { return _quantityAdult; }
            set { _quantityAdult = value; }
        }

        public int QuantityChild
        {
            get { return _quantityChild; }
            set { _quantityChild = value; }
        }

        public int QuantityDay
        {
            get { return _quantityDay; }
            set { _quantityDay = value; }
        }

        public int QuantityNight
        {
            get { return _quantityNight; }
            set { _quantityNight = value; }
        }
        public DateTime BeginDate
        {
            get { return _beginDate; }
            set { _beginDate = value; }
        }
        public DateTime EndDate
        {
            get { return _endDate; }
            set { _endDate = value; }
        }
        public int CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }
        public DateTime CreatedDate
        {
            get { return _createdDate; }
            set { _createdDate = value; }
        }
        public int UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        public DateTime UpdatedDate
        {
            get { return _updatedDate; }
            set { _updatedDate = value; }
        }
        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }
        public string Season
        {
            get { return _season; }
            set { _season = value; }
        }

        public string MartName
        {
            get { return _martName; }
            set { _martName = value; }
        }

        #endregion

        #region Custom

        public string Detail
        {
            get { return "Xem chi tiết"; }
            set { }
        }

        public int QuantityBaby
        {
            get { return _quantityBaby; }
            set { _quantityBaby = value; }
        }
        public string LocationName { get; set; }
        public string TourTypeName { get; set; }
        public string GroupTypename { get; set; }
        public string MaTour { get; set; }       
        public string TourCity { get; set; }
        public int CTQuantityAdults { get; set; }
        public int CTId { get; set; }
        public int CTQuantityChild { get; set; }
        public string CTSeasion { get; set; }
        //public DateTime CTBeginDate { get; set; }
        public DateTime CTEndDate { get; set; }
        public string Schedule
        {
            get { return _schedule; }
            set { _schedule = value; }
        }
       
        public int HasLandTour
        {
            get { return _hasLandTour; }
            set { _hasLandTour = value; }
        }

        public DateTime CTBeginDate
        {
            get { return _cTBeginDate; }
            set { _cTBeginDate = value; }
        }

        #endregion
    }
}
